﻿using System.ComponentModel.DataAnnotations;

namespace B.S.DataBase.MyRead.API.DTOs
{
    public class LoginDto
    {


        public int UserId { get; set; }
        /// <summary>
        /// 部门Id
        /// </summary>
        public int DepId { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; }
        /// <summary>
        /// 昵称
        /// </summary>
        public string NickName { get; set; }

        public List<RoleLoginDto> Roles { get; set; }

        public int UserRoleId { get; set; }

        //主键
       
        public int RoleId { get; set; }

        /// <summary>
        /// 角色名称
        /// </summary>
        public string RoleName { get; set; }

        /// <summary>
        /// 暂时角色编号
        /// </summary>
        public int HaoId { get; set; }

    }



}
